package com.pmp.pojo;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * Account entity. @author MyEclipse Persistence Tools
 */

public class Account  implements java.io.Serializable {


    // Fields    

     private Integer accountId;
     private String username;
     private String password;
     private String email;
     private String privilege;
     private Set projects = new HashSet(0);
     private Set teams = new HashSet(0);
     private Set teamMembers = new HashSet(0);
     private Set tasks = new HashSet(0);


    // Constructors

    /** default constructor */
    public Account() {
    }

	/** minimal constructor */
    public Account(String username, String password, String email, String privilege) {
        this.username = username;
        this.password = password;
        this.email = email;
        this.privilege = privilege;
    }
    
    /** full constructor */
    public Account(String username, String password, String email, String privilege, Set projects, Set teams, Set teamMembers, Set tasks) {
        this.username = username;
        this.password = password;
        this.email = email;
        this.privilege = privilege;
        this.projects = projects;
        this.teams = teams;
        this.teamMembers = teamMembers;
        this.tasks = tasks;
    }

   
    // Property accessors

    public Integer getAccountId() {
        return this.accountId;
    }
    
    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public String getPrivilege() {
        return this.privilege;
    }
    
    public void setPrivilege(String privilege) {
        this.privilege = privilege;
    }

    public Set getProjects() {
        return this.projects;
    }
    
    public void setProjects(Set projects) {
        this.projects = projects;
    }

    public Set getTeams() {
        return this.teams;
    }
    
    public void setTeams(Set teams) {
        this.teams = teams;
    }

    public Set getTeamMembers() {
        return this.teamMembers;
    }
    
    public void setTeamMembers(Set teamMembers) {
        this.teamMembers = teamMembers;
    }

    public Set getTasks() {
        return this.tasks;
    }
    
    public void setTasks(Set tasks) {
        this.tasks = tasks;
    }
   








}